home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
015a
/
dmbb25.zip
/
ERRORL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-11
|
334b
|
9 lines
@echo off
echo off
echo Test ERRORLEVEL 2.02 test --- DMBB (c) Daniel MONTARON 1989.
for %%x in (0 1 2) do if errorlevel=%%x00 set ERL=%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%ERL%%%x0 set DIZ=%ERL%%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%DIZ%%%x set ERL=%DIZ%%%x
set DIZ=
echo errorlevel = %ERL%